package system

import (
	v1 "bottle/api/v1"
	"github.com/gin-gonic/gin"
)

type PaperRouter struct{}

func (p *PaperRouter) InitPaperRouter(Router *gin.RouterGroup) {
	paperRouter := Router.Group("bottle")
	paperApi := v1.ApiGroupApp.SystemApiGroup.PaperApi
	{
		paperRouter.POST("sendPaper", paperApi.SendPaper)      //扔漂流瓶
		paperRouter.GET("pickUpBottle", paperApi.PickUpBottle) //捡漂流瓶
		paperRouter.POST("replyPaper", paperApi.ReplyPaper)    //回复漂流瓶
		paperRouter.GET("getPaperContent", paperApi.GetPaperContent) //获取两人认识的漂流瓶
		//GetPickAndThrowNum
		paperRouter.GET("getPickAndThrowNum", paperApi.GetPickAndThrowNum) //获取两人认识的漂流瓶

	}

}
